package com.zbkj.common.model.saleroom;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品门店关系表
 * </p>
 *
 * @author keNan
 * @since 2025-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_room_product")
@ApiModel(value="RoomProduct对象", description="商品门店关系表")
public class RoomProduct implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "门店商品关联表主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "调货记录id")
    private Integer transferInfoId;

    @ApiModelProperty(value = "门店id")
    private Integer roomId;

    @ApiModelProperty(value = "商品id")
    private Integer productId;

    @ApiModelProperty(value = "商品规格id")
    private Integer productSpecsId;

    @ApiModelProperty(value = "门店商品库存")
    private Integer productStore;

    @ApiModelProperty(value = "是否确认(0:未   1:是)")
    private Integer isSure;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
